/**
 * 
 */
package com.kovell.profileo.test;

import com.kovell.profileo.entity.BaseEntity;
import com.kovell.profileo.exception.EntityException;

/**
 * @author SOSSERES
 *
 */
public interface BaseService {
	
	public <T> T find(Class<T> clazz, String id) throws EntityException;

	public <T> T find(Class<T> clazz, String uniqueColumn, Object value) throws EntityException;
	
	public <T extends BaseEntity> void create(T t) throws EntityException;

	public <T extends BaseEntity> void delete(T t) throws EntityException;
	
	public <T extends BaseEntity> void update(T t) throws EntityException;
	
	
}
